package com.hzw.saas.web.sso.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.security.oauth2.common.OAuth2AccessToken;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/3/1 13:16
 */
@ApiModel(value = "授权码模型")
@Data
public class CodeInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(name = "回调地址")
    private String redirectUrl;
    @ApiModelProperty(name = "登录的用户名")
    private String username;
    @ApiModelProperty(name = "第三方应用ID")
    private String clientId;
    @ApiModelProperty(name = "授权码")
    private String code;
    @ApiModelProperty(name = "token信息")
    private OAuth2AccessToken oAuth2AccessToken;
}
